﻿@using Subtle.Extensions;
@model Subtle.ViewModels.HomePostViewModel
@*Blog Specific Details*@
<div class="post_title">
	<h2>@Html.ActionLink(Model.Title, Model.LinkTitle, "Post", null, new { @class = "post_show_link" })</h2>
	<div class="post_subdetail">
		<text class="post_date">Posted @@ @Model.PublishDate</text>
		<text class="post_tag">@Model.CategoryDescription</text>
	</div>
	@*Should this really be here?*@
	@if (Request.IsAuthenticated)
 {
		@Html.ActionLink("[edit]", "Edit", "Post", new { area = "Administration", id = Model.ID }, null)
		@Html.ActionLink("[delete]", "Delete", "Post", new { area = "Administration", id = Model.ID }, null)
 }
</div>
<div class="post_content">
	@Html.Markdown(Model.Body)
</div>